TapTree\WooCommerce\Gateway\TapTreePaymentGateway C

Total Complexity 115
Dependencies 12
Dependents 9
Total lines 946
Lines of code 588
Logical lines of code 308
Comment lines 119
Methods 37
Properties 8

Methods 37

Method Rating Maintainability Complexity Lines of code
getInstructions()
A
49 9 33
process_refund()
A
43 8 47
__construct()
A
42 7 51
updateImpactIfTotalsChanged()
A
53 8 22
displayInstructions()
S
48 6 38
processPaymentFromPayForOrder()
S
43 5 49
asciiDomainName()
S
57 7 15
getCartTotal()
S
54 6 21
process_payment()
S
48 5 33
idnEncodeDomain()
S
56 5 21
initModal()
S
51 4 27
isOrderPaid()
S
58 4 16
set_payment_description()
S
61 5 10
enqueueOrderPayScript()
S
52 3 24
thankyou_page()
S
59 3 15
getOrderRedirectUrl()
S
57 2 18
getImpact()
S
68 3 7
get_icon()
S
74 2 4
getImpactTitle()
S
67 2 7
getReturnUrl()
S
59 1 15
isPaidByOtherGateway()
S
74 2 4
unsetActiveTapTreePayment()
S
66 2 9
action_cart_calculate_totals()
S
69 2 7
orderDoesNotExistFailure()
S
61 1 14
getWebhookUrl()
S
59 1 14
appendOrderArgumentsToUrl()
S
64 1 11
saveTapTreeInfo()
S
76 1 4
setImpactTitle()
S
77 1 4
isOrderPaidWithTapTree()
S
79 1 3
setPaymentMethodIcon()
S
69 1 7
getActiveTapTreePaymentId()
S
75 1 4
setOrderPaidWithTapTree()
S
76 1 4
isTapTreeAvailable()
S
72 1 5
reportPaymentIntentCreateFailed()
S
67 1 7
reportPaymentIntentCreateSucceeded()
S
64 1 9
setCancelledTapTreePaymentId()
S
70 1 6
init_form_fields()
S
80 1 3